package cn.ac.iie.di.ban.ycl.cleaner;

import java.io.IOException;

/**
 * @author zmc <zhangmingcheng@iie.ac.cn>
 * @date 2016-9-13 21:29:10
 * @version V1.0
 * @desc
 */
public class Distinct {

    public static void main(String[] args) throws IOException {
        String url = "http://10.136.64.37:7349/check/";
        String content = "ttenc_1\n"
                + "ttenc_2\n";
        String response = org.apache.http.client.fluent.Request.Post(url)
                .bodyByteArray(content.getBytes()).socketTimeout(50000).connectTimeout(50000)
                .execute().returnContent().asString();
        System.out.println("response:" + response);
    }
}
